home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13079 < prev    next >
Encoding:
Text File  |  1996-08-05  |  767 b   |  34 lines

  1. Path: dispatch.news.demon.net!demon!snowone.demon.co.uk
  2. From: merv@snowone.demon.co.uk (snowone)
  3. Newsgroups: comp.lang.c
  4. Subject: can't get system calls to work vis c ver 1
  5. Date: Thu, 04 Apr 1996 14:09:25 GMT
  6. Message-ID: <828623397.22462@snowone.demon.co.uk>
  7. NNTP-Posting-Host: snowone.demon.co.uk
  8. X-NNTP-Posting-Host: snowone.demon.co.uk
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Hi
  12.  
  13. can anyone help me. I have msvc version one and i'm trying to get
  14. this program working
  15.  
  16. #include <process.h>
  17.  
  18. void main()
  19. {
  20.    system("dir");
  21. }
  22.  
  23. Will not compile. Says on linking _system is undeclared 
  24. (note at first would not compile until #undef _WINDOWS)
  25.  
  26. have libraries oldnames, libw and mlibcewq
  27.  
  28. This is driving me mad as it is such a simple program.
  29.  
  30. Thanks in advance.
  31.  
  32. Merv
  33.  
  34.